package com.aaa.controller;

import com.aaa.service.BillService;
import com.aaa.service.impl.BillServiceImpl;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@RequestMapping("bill")
@RestController
public class BillController {
    @Resource
    private BillService billService;
    @RequestMapping("findbill")
    public List<Map<String,Object>> findbill(Integer odid){
        return billService.findbill(odid);
    }
}
